package com.haiya.command.basic;

public class ConcreteCommandB implements Command {
    private ReceiverB receiver = new ReceiverB();

    @Override
    public void execute() {
        System.out.println("具体命令类B执行~~~");
        receiver.action();
    }
}